﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace THE_WIND_RISES.Common.Domans.Produce.Procurement
{
    /// <summary>
    /// 订单行
    /// </summary>
    public class OrderLines:Entity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int OrderLineId { get; set; }

        /// <summary>
        /// 物料
        /// </summary>
        public int InventoryInfoId { get; set; }

        /// <summary>
        /// 单价(不含税)
        /// </summary>
        public string OrderLinePrice { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int OrderLineNum { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// 行金额
        /// </summary>
        public decimal BankAmount { get; set; }

        /// <summary>
        /// 行摘要
        /// </summary>
        public string LineSummary { get; set; }

        /// <summary>
        ///采购序号
        /// </summary>
        public int PurchasinId { get; set; }

        /// <summary>
        /// 删除
        /// </summary>
        public int IsDelete { get; set; }
    }
}
